#ifndef _FLASH_H_
#define _FLASH_H_

#include "gd32f30x.h"
#include "gd32f30x_fmc.h"

void fmc_erase(uint32_t start_address,uint32_t page_size,uint32_t page_num);
void fmc_write(uint32_t start_address,uint32_t * pdata,uint32_t data_size);

#endif
